package com.hexacta.hrs.report.dtos;

/**
 * TODO Clase DTO para instanciar un objeto solo a fin de mostrarlo.
 * 
 * Created on 15/05/2009
 * 
 * @author mmicheletto
 * 
 */
public class ReporteGeneralDeVacacionesPendeintesDTO implements Comparable<ReporteGeneralDeVacacionesPendeintesDTO> {

    // fields
    private String fullName;

    private Integer currentPeriodVacationDays;

    private Integer previousPeriodsVacationDays;

    private Integer totalDays;

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public Integer getCurrentPeriodVacationDays() {
        return currentPeriodVacationDays;
    }

    public void setCurrentPeriodVacationDays(Integer currentPeriodVacationDays) {
        this.currentPeriodVacationDays = currentPeriodVacationDays;
    }

    public Integer getPreviousPeriodsVacationDays() {
        return previousPeriodsVacationDays;
    }

    public void setPreviousPeriodsVacationDays(Integer previousPeriodsVacationDays) {
        this.previousPeriodsVacationDays = previousPeriodsVacationDays;
    }

    public Integer getTotalDays() {
        return totalDays;
    }

    public void setTotalDays(Integer totalDays) {
        this.totalDays = totalDays;
    }

    public int compareTo(ReporteGeneralDeVacacionesPendeintesDTO o) {
        return (o.getCurrentPeriodVacationDays().compareTo(getCurrentPeriodVacationDays()));
    }

}
